package cn.wolfcode.mapper;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.domain.Permission;
import cn.wolfcode.query.QueryObject;

import java.util.List;

public interface PermissionMapper {
    void delete(Long id);

    void insert(Permission permission);

    Permission get(Long id);

    List<Permission> selectAll();

    List<Permission> selectForList(QueryObject qo);

	List<String> selectAllExpression();
}